﻿using UnityEditor;
using UnityEngine;

namespace Yoozoo.Gameplay.Liberty.Tools.Editor
{
    [CustomEditor(typeof(SyncFbxLocalTransformTool))]
    public class SyncFbxLocalPositionToolEditor : UnityEditor.Editor
    {
        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();

            if (GUILayout.Button("同步位置"))
            {
                (target as SyncFbxLocalTransformTool).Sync();
            }
        }
    }
}